export default {
	path: '/marketing',
	name: 'marketing',
	component: () => import('/@/layout/routerView/parent.vue'),
	redirect: '/system/menu',
	meta: {
		title: '营销管理',
		isLink: '',
		isHide: false,
		isKeepAlive: true,
		isAffix: false,
		isIframe: false,
		roles: ['admin'],
		icon: 'fa fa-viacoin',
	},
	children: [
		{
			path: '/marketing/coupon',
			name: 'MarketingCoupon',
			component: () => import('/@/views/marketing/coupon/index.vue'),
			meta: {
				title: '优惠券',
				isLink: '',
				isHide: false,
				isKeepAlive: true,
				isAffix: false,
				isIframe: false,
				roles: ['admin'],
				icon: 'fa fa-money',
			},
		},
		{
			path: '/marketing/couponDetail/:id',
			name: 'MarketingCouponDetail',
			component: () => import('/@/views/marketing/coupon/couponDetail.vue'),
			meta: {
				title: '优惠详情',
				isLink: '',
				isHide: true,
				isKeepAlive: true,
				isAffix: false,
				isIframe: false,
				roles: ['admin'],
				icon: 'fa fa-money',
			},
		},
		{
			path: '/marketing/posterList',
			name: 'MarketingPosterList',
			component: () => import('/@/views/marketing/posterList/index.vue'),
			meta: {
				title: '广告列表',
				isLink: '',
				isHide: false,
				isKeepAlive: true,
				isAffix: false,
				isIframe: false,
				roles: ['admin'],
				icon: 'iconfont icon-biaodan',
			},
		},
		{
			path: '/marketing/posterPosition',
			name: 'MarketingPosterPosition',
			component: () => import('/@/views/marketing/posterPosition/index.vue'),
			meta: {
				title: '广告位置',
				isLink: '',
				isHide: false,
				isKeepAlive: true,
				isAffix: false,
				isIframe: false,
				roles: ['admin'],
				icon: 'fa fa-puzzle-piece',
			},
		},
	],
};
